package com.exonline.commons.base;

import com.fasterxml.jackson.core.JsonProcessingException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.SQLException;
import java.util.Map;

public interface IBaseServlet { ;

    public default void query(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException {

    }

    public default void delete(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException {

    }

    public default void queryOne(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException {

    }

    public default void edit(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException {

    }

    public default void add(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException {

    }

}
